<?php
defined('IN_CMS') or exit('No permission resources.');
// 为插件单独执行计划
$local = pc_base::load_sys_class('service')::apps();
if ($local) {
    foreach ($local as $dir => $path) {
        if (module_exists($dir) && is_file($path.'config/cron.php')) {
            require $path.'config/cron.php';
        }
    }
}
exit('任务执行成功：Run Ok');